package com.education.platform.management.service.impl;

import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.PayRecordDao;
import com.education.platform.dao.entity.PayRecordDO;
import com.education.platform.dao.model.PayRecordModel;
import com.education.platform.management.service.PayRecordService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* describe: 支付记录
* @author : tomato
* @date: 2020-06-29 10:28:07.761
**/
@Service
public class PayRecordServiceImpl extends BaseServiceImpl<PayRecordDao, PayRecordDO> implements PayRecordService {

	private static final Logger LOGGER = LoggerFactory.getLogger(PayRecordServiceImpl.class);

    @Autowired
	private PayRecordDao payRecordDao;

    /**
     * 查询支付记录
     *
     * @param query
     * @return
     */
    @Override
    public List<PayRecordModel> getPayRecordList(PayRecordModel query) {
        return payRecordDao.getPayRecordList(query);
    }
}
